kernel: usb: fix dependencies for kmod-cdns3 and kmod-cdns
authorThomas Richard <[email protected]>
Fri, 27 Jun 2025 14:08:42 +0000 (16:08 +0200)
committerHauke Mehrtens <[email protected]>
Fri, 8 Aug 2025 16:06:51 +0000 (18:06 +0200)
commit96be6d4f8a9195a45aafbfb19047d1525206581e
tree452de7f5c0fd7d9e1b5f9114275b2f4f6f157991
parent0546f8b74d5860b5a44f453b6842f51a58842cb9
kernel: usb: fix dependencies for kmod-cdns3 and kmod-cdns

The cdns3 driver can be built without usb host mode support. Fix
dependencies to handle the case it is built with only gadget support.

Signed-off-by: Thomas Richard <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19246
Signed-off-by: Hauke Mehrtens <[email protected]>
package/kernel/linux/modules/usb.mk